package com.qf.dao.impl;

import com.qf.dao.TaskDao;
import com.qf.entity.Task;

/**
 * 2019/10/8
 * Administrator
 * springQuartz1008
 * 面向对象面向君  不负代码不负卿
 */
public class TaskDaoImpl implements TaskDao {
    public Task findbyname(String name) {
        if(name.equals("张三")){
            return  new Task("张三","吃饭");
        }else {
            return  new Task("王五","睡觉");
        }
    }
}
